package com.bzkj.msfx.domain.relationMsfx;

/**
 * @projectName: btyy
 * @package: com.bzkj.btyy.domain.relation
 * @className: RelationCode
 * @description: 追溯码详情（导出关联关系详情使用）
 * @author: C1309
 * @createDate: 2024年03月22日
 * @version: v1.0
 */
public class RelationCode {
    /** 药品批号 */
    private String batchNo;

    /** 当前追溯码 */
    private String curCode;

    /** 追溯码层级 */
    private String packLayer;

    /** 父追溯码 */
    private String parentCode;

    /** 标记 */
    private String flag;

    /** 采集日期 */
    private String actDate;

    /** 生产日期 */
    private String madeDate;

    /** 有效期至 */
    private String validateDate;

    public RelationCode() {
    }

    public RelationCode(String batchNo, String curCode, String packLayer, String parentCode, String flag, String actDate, String madeDate, String validateDate) {
        this.batchNo = batchNo;
        this.curCode = curCode;
        this.packLayer = packLayer;
        this.parentCode = parentCode;
        this.flag = flag;
        this.actDate = actDate;
        this.madeDate = madeDate;
        this.validateDate = validateDate;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }

    public String getCurCode() {
        return curCode;
    }

    public void setCurCode(String curCode) {
        this.curCode = curCode;
    }

    public String getPackLayer() {
        return packLayer;
    }

    public void setPackLayer(String packLayer) {
        this.packLayer = packLayer;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getActDate() {
        return actDate;
    }

    public void setActDate(String actDate) {
        this.actDate = actDate;
    }

    public String getMadeDate() {
        return madeDate;
    }

    public void setMadeDate(String madeDate) {
        this.madeDate = madeDate;
    }

    public String getValidateDate() {
        return validateDate;
    }

    public void setValidateDate(String validateDate) {
        this.validateDate = validateDate;
    }

    @Override
    public String toString() {
        return "RelationCode{" +
                "batchNo='" + batchNo + '\'' +
                ", curCode='" + curCode + '\'' +
                ", packLayer='" + packLayer + '\'' +
                ", parentCode='" + parentCode + '\'' +
                ", flag='" + flag + '\'' +
                ", actDate='" + actDate + '\'' +
                ", madeDate='" + madeDate + '\'' +
                ", validateDate='" + validateDate + '\'' +
                '}';
    }
}
